package com.cykj.order.domain;


import java.sql.Timestamp;
import java.util.ArrayList;
import java.util.List;

public class BsRegion {

  private Integer id;
  private String regionName;
  private Integer parentId;
  private Integer regionLevel;
  private String postalCode;
  private String regionCode;
  private Double longitude;
  private Double latitude;
  private Integer status;
  private java.sql.Timestamp createTime;
  private List<BsRegion> children = new ArrayList<>();

  public List<BsRegion> getChildren() {
    return children;
  }

  public void setChildren(List<BsRegion> children) {
    this.children = children;
  }

  public Integer getId() {
    return id;
  }

  @Override
  public String toString() {
    return "BsRegion{" +
            "id=" + id +
            ", regionName='" + regionName + '\'' +
            ", parentId=" + parentId +
            ", regionLevel=" + regionLevel +
            ", postalCode='" + postalCode + '\'' +
            ", regionCode='" + regionCode + '\'' +
            ", longitude=" + longitude +
            ", latitude=" + latitude +
            ", status=" + status +
            ", createTime=" + createTime +
            ", children=" + children +
            '}';
  }

  public void setId(Integer id) {
    this.id = id;
  }

  public String getRegionName() {
    return regionName;
  }

  public void setRegionName(String regionName) {
    this.regionName = regionName;
  }

  public Integer getParentId() {
    return parentId;
  }

  public void setParentId(Integer parentId) {
    this.parentId = parentId;
  }

  public Integer getRegionLevel() {
    return regionLevel;
  }

  public void setRegionLevel(Integer regionLevel) {
    this.regionLevel = regionLevel;
  }

  public String getPostalCode() {
    return postalCode;
  }

  public void setPostalCode(String postalCode) {
    this.postalCode = postalCode;
  }

  public String getRegionCode() {
    return regionCode;
  }

  public void setRegionCode(String regionCode) {
    this.regionCode = regionCode;
  }

  public Double getLongitude() {
    return longitude;
  }

  public void setLongitude(Double longitude) {
    this.longitude = longitude;
  }

  public Double getLatitude() {
    return latitude;
  }

  public void setLatitude(Double latitude) {
    this.latitude = latitude;
  }

  public Integer getStatus() {
    return status;
  }

  public void setStatus(Integer status) {
    this.status = status;
  }

  public Timestamp getCreateTime() {
    return createTime;
  }

  public void setCreateTime(Timestamp createTime) {
    this.createTime = createTime;
  }
}
